package com.wish.housing.service.impl;

import com.wish.housing.entity.RoomInfo;
import com.wish.housing.entity.vo.RoomRackVo;
import com.wish.housing.mapper.RoomInfoMapper;
import com.wish.housing.service.IRoomInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 王泓翔-房间详细信息表	！房态-杨子强 服务实现类
 * </p>
 *
 * @author benjamin
 * @since 2022-03-28
 */
@Service
public class RoomInfoServiceImpl extends ServiceImpl<RoomInfoMapper, RoomInfo> implements IRoomInfoService {

    @Override
    public List<RoomRackVo> roomRackList(RoomRackVo qv) {
        return getBaseMapper().roomRackList(qv);
    }

    @Override
    public List<RoomInfo> getRoomList(String houseId, RoomRackVo qv) {
        return getBaseMapper().getRoomList(houseId,qv);
    }

}
